<?xml version="1.0" encoding="utf-8"?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2">
	<class name="YiLe.Model.Domain.Menu, YiLe.Model" table="Menu" lazy="true" >
		<id name="MenuID" column="MenuID" type="int">
			<generator class="native"/>
		</id>
		<property name="MenuName">
		  <column name="MenuName" sql-type="varchar" not-null="true" />
		</property>
		<property name="MenuType">
		  <column name="MenuType" sql-type="char" not-null="false" />
		</property>
		<property name="MenuSequence">
		  <column name="MenuSequence" sql-type="int" not-null="true" />
		</property>
		<property name="ParentID">
		  <column name="ParentID" sql-type="int" not-null="true" />
		</property>
		<property name="MenuModule">
		  <column name="MenuModule" sql-type="varchar" not-null="true" />
		</property>
		<!--
		<bag name="Permissions" table="Permission" inverse="true" lazy="true" cascade="all">
			<key column="MenuID" />
			<one-to-many class="YiLe.Model.Domain.Permission, YiLe.Model" />
		</bag>
		<one-to-one name="Permission" class="YiLe.Model.Domain.Permission, YiLe.Model" cascade="all" />-->
	</class>
</hibernate-mapping>